<!-- Testimonios -->
<?php
							$tabCom="comentarios";
							$conCom="comCurso=".$reg['cur_id'];
							$ordCom="";
							$resCom=cons_sql($tabCom,$conCom,$ordCom);
							if(mysql_num_rows($resCom)>0):
							$item="item active";
?>


                        <div class="info-box endorsements">
                            <div class="box-head">
                                <span><i class="icon-quote-left"></i></span>
                            </div>
                            <div id="endorsements-slide" class="carousel slide">
                                <div class="carousel-inner">
                                  
								<?php while($regCom=mysql_fetch_array($resCom)):?>

								  <div class="<?php echo $item?>">
                                        <blockquote>
                                            <p><?php echo remplazar_car($regCom['comComentario'])?></p>
                                            <small><?php echo remplazar_car($regCom['comAutor'])?></small>
                                        </blockquote>
                                    </div>
									<?php 
									$item="item";
									endwhile?>
                                   
                                </div>
                            </div>
                        </div>
						
						<?php 
						endif?>